/**
 * Creater with IntelliJ IDEA.
 * Description:
 * User: 86152
 * Dae: 2022-07-23
 * Time: 22:28
 */
class adminThread extends Thread {

    public void run() {
        while(true) {
            System.out.println(1);
        }
    }
}
public class demo6 {
    public static void main(String[] args) throws InterruptedException {
        Thread t = new adminThread();
        t.setDaemon(true);
        t.start();
        Thread.sleep(3000);
    }
}
